package runnian;

import java.awt.List;
import java.util.ArrayList;
import java.util.Calendar;

public class Run {

	public static void main(String[] args) {
		Calendar ss = Calendar.getInstance();
		ArrayList list = new ArrayList();
		int year = ss.get(Calendar.YEAR);
		while (list.size() < 100) {
			if (year % 400 == 0||year % 4 == 0 && year % 100 != 0) {
				list.add(year);
			}
			year++;
		}
		System.out.println(list);


	}

}
